package com.itqf.service.impl;

import com.itqf.entity.TbItemDesc;
import com.itqf.mapper.TbItemDescMapper;
import com.itqf.service.TbItemDescService;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2021/1/18
 * @Time: 上午11:16
 */
public class TbItemDescServiceImpl implements TbItemDescService {

    //依赖dao  mapper
    private TbItemDescMapper tbItemDescMapper;

    public void setTbItemDescMapper(TbItemDescMapper tbItemDescMapper) {
        this.tbItemDescMapper = tbItemDescMapper;
    }

    @Override
    public int insert(TbItemDesc tbItem) {
       int i =  tbItemDescMapper.insert(tbItem);
       int k = 10/0;
        return i;
    }
}
